package http;

import android.content.Context;

import com.dx.as.common.ILoadListener;

/**
 * Created by jwaoo on 2017/5/26.
 */

public abstract class IHttpListener {
    protected ILoadListener loadListener;
    protected Context context;
    protected IHttpListener(Context context,ILoadListener loadListener) {
        this.loadListener = loadListener;
        this.context = context;
    }
    protected IHttpListener(){

    }
    protected abstract void getData(Object ... objects);
    protected abstract void onResponse(Object response, int flg);
    protected abstract void onFailure(Throwable t);

}
